const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');
var schema_order     = new mongoose.Schema( { userId:String,orderId:String,orderStatus:Number,goodsMoney:Number,userName:String,userAddress:String,userPhone:String,receiveTime:Date,deliveryTime:Date,expressNo:String});
schema_order.plugin(mongoosePaginate);
const Order          = mongoose.model('Order',schema_order,'order');
      module.exports = Order;